{% extends 'bootstrap/base.html' %}

{% block title %}微软远程工具IP管理{% endblock %}

{% block styles %}
    {{ super() }}
    <link rel="icon" href="{{ url_for('static', filename='sina.png') }} " type="image/x-icon">
{% endblock %}

{% block navbar %}
    <nav class="navbar navbar-default" role="navigation">
        <div class="container-fluid">
            <div class="navbar-header">
                <a class="navbar-brand" href="{{url_for('main.index')}}">微软远程工具IP管理</a>
            </div>
            <ul class="nav navbar-nav navbar-right">
                <li><a href="{{url_for('users.register')}}"><span class="glyphicon glyphicon-user"></span> 注册</a></li>
                <li><a href="{{url_for('users.login')}}"><span class="glyphicon glyphicon-log-in"></span> 登录</a></li>
            </ul>
        </div>
    </nav>
{% endblock %}

{% block content %}
    <div class="container">
        {% for message in get_flashed_messages() %}
            <div class="alert alert-success alert-dismissible" role="alert">
                <button type="button" class="close" data-dismiss="alert" aria-label="Close"><span
                        aria-hidden="true">&times;</span></button>
                <strong>{{ message }}</strong>
            </div>
        {% endfor %}
        {% block page_content %}

        {% endblock %}
    </div>
{% endblock %}

{% block scripts %}
    {{ super() }}
    {{ moment.include_moment() }}
    {{ moment.locale('zh-CN') }}
{% endblock %}